//
//  OCSSWriteOrderInfoCell.swift
//  OCSSStoreSwift
//
//  Created by MacMiniKangChe on 2018/10/16.
//  Copyright © 2018年 MacMiniKangChe. All rights reserved.
//

import UIKit

class OCSSWriteOrderInfoCell: UITableViewCell {

    var model:OCSSOverBookModel?{
        didSet{
            orderNumLab.text = model?.ID;
            carNameLab.text = model?.ProductName;
            priceLab.text = String(format: "￥%.2f", (model?.SalePrice)!);
            countLab.text = String(format: "x%d", (model?.Quantity)!);
        }
    }
    
    @IBOutlet weak var orderNumLab: UILabel!
    @IBOutlet weak var carNameLab: UILabel!
    @IBOutlet weak var priceLab: UILabel!
    @IBOutlet weak var countLab: UILabel!
    
    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
    }

    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }
    
}
